<div class="sidebar_detail" >
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改景点
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default" ng-click="updateSupport.save()" ng-disabled="updateSpotForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" role="tablist" style="clear:both">
		<li class="active"><a data-target="#spotBaseInfo" role="tab" data-toggle="tab">基本信息</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active" id="spotBaseInfo">
			<form id="updateSpotForm" name="updateSpotForm" novalidate>
				<!--与上传图片在同一行的内容 开始 -->
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="row">
							<div class="col-md-6 form-horizontal">
								<div class="form-group">
									<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>景区名称:</label>
									<div class="col-md-8 col-sm-10">
										<input name="addSpotName" type="text" class="form-control" ng-model="updateSupport.entity.name" ng-maxlength="32" required>
										<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.addSpotName.$valid"></span>
										<span class="error_tips" ng-show="updateSpotForm.addSpotName.$error.maxlength">最多不能超过32个字符！</span>
									</div>
								</div>
							</div>
							<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
								<div class="form-group">
									<label class="col-md-4 col-sm-2 control-label">景区代码:</label>
									<div class="col-md-8 col-sm-10">
										<input id="code" name="code" type="text" class="form-control" ng-model="updateSupport.entity.code" disabled>
									</div>
								</div>
							</div>
						</div>

						<div class="row">
							<div class="col-md-6 form-horizontal" >
								<div class="form-group">
									<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>星　　级:</label>
									<div class="col-md-8 col-sm-10">
										<input id="levelName" name="levelName"  type="text" class="form-control" >
										<input name="level" type="hidden" class="form-control" ng-model="updateSupport.entity.level" required>
										<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.level.$valid"></span>
									</div>
								</div>
							</div>
							<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
								<div class="form-group">
									<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>省　　份:</label>
									<div class="col-md-8 col-sm-10">
										<input id="provinceName" name="provinceName" type="text" class="form-control" required>
										<input name="province" type="hidden" class="form-control" ng-model="updateSupport.entity.province" required>
										<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.province.$valid"></span>
									</div>
								</div>
							</div>

						</div>


					</div>
				</div>

				<div class="row">
					<div class="col-md-6 form-horizontal ">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">城　　市:</label>
							<div class="col-md-8 col-sm-10">
								<input id="cityName" name="cityName" type="text" class="form-control" required>
								<input name="city" type="hidden" class="form-control" ng-model="updateSupport.entity.city" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.city.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">区　　县:</label>
							<div class="col-md-8 col-sm-10">
								<input id="zoneName" name="zoneName" type="text" class="form-control" required>
								<input name="area" type="hidden" class="form-control" ng-model="updateSupport.entity.area" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.area.$valid"></span>
							</div>
						</div>
					</div>

				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull" >*</span>详细地址 :</label>
							<div class="col-sm-10">
								<textarea id="detail" name="detail" class="form-control" rows="4" ng-model="updateSupport.entity.detail" ng-maxlength="300" required></textarea>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.detail.$valid"></span>
								<span class="error_tips"
									ng-show="updateSpotForm.detail.$error.maxlength">最多不能超过300个字符！</span>
							</div>

						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull" >*</span>开放时间 :</label>
							<div class="col-sm-10">
								<textarea id="openTime" name="openTime" class="form-control" rows="4" ng-model="updateSupport.entity.openTime" required></textarea>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.openTime.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label">描述 :</label>
							<div class="col-sm-10">
								<textarea id="description" name="description" class="form-control" rows="4" ng-model="updateSupport.entity.description" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="updateSpotForm.description.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label">照片上传</label>
							<div class="col-sm-10" id="multiFileUpload"></div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-10">
								<ul id="dowebok">
									<li ng-repeat="item in updateSupport.bind.images"><img
										data-original="{{ item.key }}" src="{{ item.path }}" style="width:100%">
									</li>
								</ul>
								<input name="isOk" type="hidden" class="form-control" ng-model="updateSupport.bind.isOk" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateSpotForm.isOk.$valid"></span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>